<template>
	<view class="Scan_payment">
		<view class="payment_detail">
			<view class="top">
				<view>{{amount}}</view>
				<text>{{symbol}}</text>
			</view>
			<text class="payment_status">{{i18n.payment_status}}</text>
		</view>
		
		<image src="../../static/image/icon_paymen.png" class="icon"></image>
		<!-- <image src="../../static/image/avator.png" class="avator"></image> -->
		<view class="uName">{{ToaccountName}}</view>
		<image :src="i18n.wcimg" class="finish" @tap="finish"></image>
		
	</view>
</template>

<script>
	
	export default {
		computed: {
			i18n() {
				return this.$t('user')
			}
		},
		data() {
			return {
				symbol:"",
				amount:"",
				ToaccountName:""
			}
		},
		onLoad(options) {
			console.log(options)
			this.symbol = options.symbol.toUpperCase();
			this.amount = options.amount;
			this.ToaccountName = options.ToaccountName;
		},
		methods: {
			finish(){
				this.$CommonJS.navigateTo('../index/home')
			}
		}
	}
</script>

<style lang="stylus">
	@import "../../static/stylus/scan_payment/payment_success.stylus"
</style>
